<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>

    <title>项目立项新增/修改弹窗页面</title>

    <div th:replace="common/common.html :: common_resource"></div>

</head>

<body class="gray-bg">

<div th:fragment="addProject">
<div id="modal-form" class="modal fade" aria-hidden="true">
    <div class="modal-dialog" style="width:64%;">
        <div class="modal-content">
            <div class="modal-body" id="form-body-pdf">
                <div class="row" id="form">
                    <div class="col-sm-2 b-r"></div>
                    <div class="col-sm-5 b-l">
                        <h3 class="m-t-none m-b" style="margin-bottom:30px"><i class="fa fa-paste"></i> 新增(修改) 项目立项信息</h3>

                        <form th:action="@{/project/addEditProject}" method="post">
                            <div class="form-group">
                                <label>项目编号：</label>
                                <input type="text" id="projectId" name="projectId" placeholder="请输入项目编号" class="form-control">
                            </div>
                            <div class="form-group">
                                <label>项目名称：</label>
                                <input type="text" id="projectName" name="projectName" placeholder="请输入项目名称" class="form-control">
                            </div>
                            <div class="form-group">
                                <label>请选择项目类型：</label>
                                <div>
                                    <label class="radio-inline">
                                        <input style="margin-top:2px;" type="radio" value="1" id="projectState1" name="projectState">团队项目</label>
                                    <label class="radio-inline">
                                        <input style="margin-top:2px;" type="radio" value="2" id="projectState2" name="projectState">个人项目</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label>团队编号：</label>
                                <input type="text" id="teamId" name="teamId" placeholder="请输入团队编号" class="form-control">
                            </div>
                            <div class="form-group">
                                <label>学号(个人竞赛)：</label>
                                <input type="text" id="stuNo" name="stuNo" placeholder="请输入学号" class="form-control">
                            </div>
                            <div class="form-group">
                                <label class="control-label">指导老师：</label>
                                <div>
                                    <select class="form-control" id="instructorId" name="instructorId">
                                        <option id="selects" value="">请选择指导老师</option>
                                        <span th:each="instructor : ${instructorList}">
                                            <option th:id="${instructor.getInstructorId()}" th:value="${instructor.getInstructorId()}"
                                                    th:text="${instructor.getInstructorName()}" hassubinfo="true">文本</option>
                                        </span>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label>指导老师评价：</label>
                                <textarea id="evaluateStateOne" name="evaluateStateOne" class="form-control" required="" aria-required="true"></textarea>
                            </div>
                            <div class="form-group">
                                <label>学院部门工作人员评价：</label>
                                <textarea id="evaluateStateTwo" name="evaluateStateTwo" class="form-control" required="" aria-required="true"></textarea>
                            </div>
                            <div class="form-group">
                                <label class="control-label">项目进度：</label>
                                <label class="control-label" id="nowLabel"></label>
                                <div class="progress progress-striped active">
                                    <div style="width: 33.33%" id="successPro" class="progress-bar progress-bar-success">
                                        <span class="sr-only">成功</span>
                                    </div>
                                    <div style="width: 33.33%" id="errorPro" class="progress-bar progress-bar-danger">
                                        <span class="sr-only">失败</span>
                                    </div>
                                </div>
                            </div>

                            <div style="margin-top:20px;">
                                <button style="width:100px;margin-top:15px;margin-bottom:30px;"
                                        class="btn btn-sm btn-primary pull-left m-t-n-xs" id="daYin" type="button">
                                    <strong>打印</strong>
                                </button>
                            </div>
                        </form>
                    </div>
                    <div class="col-sm-5 b-l"></div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>

</body>

</html>
